Swagger2Feature
Swagger2FeatureSetupPropertiesConfiguring from CodeConfiguring in SpringConfiguring in BlueprintConfiguring in CXFNonSpringJaxrsServletNew: Configuring from Properties fileEnabling in Spring BootAccessing Swagger DocumentsEnabling Swagger UI
Enabling Swagger UI in OSGi container (Karaf)Automatic UI ActivationUnpacking Swagger UI resourcesConfiguring Swagger UI (3.2.7+)
Reverse ProxyConverting to OpenAPI JSONSamples
The CXF Swagger2Feature allows you to generate Swagger 2.0 documents from JAX-RS service endpoints with a simple configuration. For generating Swagger 1.2 documents, you can use SwaggerFeature instead of Swagger2Feature (for CXF versions |